#include "modules/StandbyControl.h"
#include "util.h"

#include "hw/Samsung_20T202DA2JA.h"

int StandbyControl::init(){
    return 0;
}

int StandbyControl::threadHandler(){
    LOG << "staring StandbyControl thread handler" << std::endl;
    m_screen->write("      Standby");
    std::this_thread::sleep_for(std::chrono::milliseconds(500));
    m_screen->clear();
    
    while(m_shouldRun){
        std::this_thread::sleep_for(std::chrono::milliseconds(50));
    }
    m_screen->clear();
    
    return 0;
}
